package com.qkl.xiatang.app.utils;

import lombok.Data;

import java.util.Map;

@Data
public class UploadFileDTO {

    public static final int UPLOAD_TYPE_CHECK = 1;

    /**
     * 上传类型，1 查料台
     */
    private int uploadType;

    private long size;

    private byte[] content;

    private String name;

    private String originalFilename;

    private String suffixName;

    private String contentType;

    private Map<String,String> params;


    public boolean uploadTypeCheck(){
        return UPLOAD_TYPE_CHECK == uploadType;
    }


}
